package com.xkcun.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 点赞表(Agree)表实体类
 *
 * @author yfz
 * @since 2021-08-06 11:55:03
 */
@Data
@TableName("agree")
@ApiModel(description = "点赞表")
public class Agree extends Model<Agree> {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "点赞id")
    private Integer id;

    @ApiModelProperty(value = "1.成功案例的点赞")
    private Integer type;

    @ApiModelProperty(value = "成功案例id 根据type确定")
    private Integer itemId;

    @ApiModelProperty(value = "点赞人电话")
    private String mobile;

    @ApiModelProperty(value = "点赞人姓名")
    private String name;

    @ApiModelProperty(value = "创建人id")
    private String createUserId;

    @ApiModelProperty(value = "创建人名称")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "更新人id")
    private String updateUserId;

    @ApiModelProperty(value = "更新人名称")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "是否删除：0未删除1已删除")
    private Integer isDel;


}